﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ApprovalFlow.Models
{
    /// <summary>
    /// 订阅事件的描述
    /// </summary>
    public class EventSubscription
    {
        /// <summary>
        /// id
        /// </summary>
        public string Id { get; set; }

        /// <summary>
        /// 审批实例的唯一码。
        /// </summary>
        public string InstanceId { get; set; }

        /// <summary>
        /// 步骤id
        /// </summary>
        public int StepId { get; set; }

        /// <summary>
        /// 路线图id
        /// </summary>
        public string ExecutionPointerId { get; set; }

        /// <summary>
        /// 事件名称
        /// </summary>
        public string EventName { get; set; }

        /// <summary>
        /// 事件的key
        /// </summary>
        public string EventKey { get; set; }
    }
}
